package com.management.vo;

import java.sql.Timestamp;

/**
 * @author ls
 * @category
 */
public class MaterialsRecordVO {
    /**
     * 记录编号
     */
    private int materialsRecordId;
    /**
     * 公司编号
     */
    private int companyId;
    /**
     * 记录时间
     */
    private Timestamp materialsRecordTime;
    /**
     * 仓库编号
     */
    private int warehouseId;
    /**
     * 物品编号
     */
    private int materialsId;
    /**
     * 数量
     */
    private int materialsRecordNumber;
    /**
     * 操作人
     */
    private String userId;

    /**
     * 公司名称
     */
    private int companyName;
    /**
     * 仓库名称
     */
    private String warehouseName;
    /**
     * 物品名称
     */
    private String materialsName;

    /**
     * 操作人姓名
     */
    private String userName;

    @Override
    public String toString() {
        return "MaterialsRecordVO{" +
                "materialsRecordId=" + materialsRecordId +
                ", companyId=" + companyId +
                ", materialsRecordTime=" + materialsRecordTime +
                ", warehouseId=" + warehouseId +
                ", materialsId=" + materialsId +
                ", materialsRecordNumber=" + materialsRecordNumber +
                ", userId='" + userId + '\'' +
                ", companyName=" + companyName +
                ", warehouseName='" + warehouseName + '\'' +
                ", materialsName='" + materialsName + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }

    public MaterialsRecordVO() {
    }

    public MaterialsRecordVO(int materialsRecordId, int companyId, Timestamp materialsRecordTime, int warehouseId, int materialsId, int materialsRecordNumber, String userId, int companyName, String warehouseName, String materialsName, String userName) {
        this.materialsRecordId = materialsRecordId;
        this.companyId = companyId;
        this.materialsRecordTime = materialsRecordTime;
        this.warehouseId = warehouseId;
        this.materialsId = materialsId;
        this.materialsRecordNumber = materialsRecordNumber;
        this.userId = userId;
        this.companyName = companyName;
        this.warehouseName = warehouseName;
        this.materialsName = materialsName;
        this.userName = userName;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public int getCompanyName() {
        return companyName;
    }

    public void setCompanyName(int companyName) {
        this.companyName = companyName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getMaterialsRecordId() {
        return materialsRecordId;
    }

    public void setMaterialsRecordId(int materialsRecordId) {
        this.materialsRecordId = materialsRecordId;
    }

    public Timestamp getMaterialsRecordTime() {
        return materialsRecordTime;
    }

    public void setMaterialsRecordTime(Timestamp materialsRecordTime) {
        this.materialsRecordTime = materialsRecordTime;
    }

    public int getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(int warehouseId) {
        this.warehouseId = warehouseId;
    }

    public int getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(int materialsId) {
        this.materialsId = materialsId;
    }

    public int getMaterialsRecordNumber() {
        return materialsRecordNumber;
    }

    public void setMaterialsRecordNumber(int materialsRecordNumber) {
        this.materialsRecordNumber = materialsRecordNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getMaterialsName() {
        return materialsName;
    }

    public void setMaterialsName(String materialsName) {
        this.materialsName = materialsName;
    }
}
